package com.czy.owner.entity;

import java.util.List;

/**
 * Created by hedepu on 2017-10-12
 */

public class ParityModel {


    /**
     * goodsPage : {"totalRow":2,"pageNumber":1,"firstPage":true,"lastPage":true,"totalPage":1,"pageSize":10,"list":[{"soldCount":11,"unitName":"件","goodsId":378,"price":100,"goodsName":"供应商商品11111","goodsLogo":"http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png","collect":0,"commentCount":0}]}
     */

    private GoodsPageBean goodsPage;

    public GoodsPageBean getGoodsPage() {
        return goodsPage;
    }

    public void setGoodsPage(GoodsPageBean goodsPage) {
        this.goodsPage = goodsPage;
    }

    public static class GoodsPageBean {
        /**
         * totalRow : 2
         * pageNumber : 1
         * firstPage : true
         * lastPage : true
         * totalPage : 1
         * pageSize : 10
         * list : [{"soldCount":11,"unitName":"件","goodsId":378,"price":100,"goodsName":"供应商商品11111","goodsLogo":"http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png","collect":0,"commentCount":0}]
         */

        private int totalRow;
        private int pageNumber;
        private boolean firstPage;
        private boolean lastPage;
        private int totalPage;
        private int pageSize;
        private List<ListBean> list;

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public boolean isFirstPage() {
            return firstPage;
        }

        public void setFirstPage(boolean firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isLastPage() {
            return lastPage;
        }

        public void setLastPage(boolean lastPage) {
            this.lastPage = lastPage;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * soldCount : 11
             * unitName : 件
             * goodsId : 378
             * price : 100
             * goodsName : 供应商商品11111
             * goodsLogo : http://o6w2souoh.bkt.clouddn.com/defaultUserGroup.png
             * collect : 0
             * commentCount : 0
             */

            private int soldCount;
            private String unitName;
            private int goodsId;
            private double price;
            private String goodsName;
            private String goodsLogo;
            private int collect;
            private int commentCount;

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getSoldCount() {
                return soldCount;
            }

            public void setSoldCount(int soldCount) {
                this.soldCount = soldCount;
            }

            public String getUnitName() {
                return unitName;
            }

            public void setUnitName(String unitName) {
                this.unitName = unitName;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }



            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsLogo() {
                return goodsLogo;
            }

            public void setGoodsLogo(String goodsLogo) {
                this.goodsLogo = goodsLogo;
            }

            public int getCollect() {
                return collect;
            }

            public void setCollect(int collect) {
                this.collect = collect;
            }

            public int getCommentCount() {
                return commentCount;
            }

            public void setCommentCount(int commentCount) {
                this.commentCount = commentCount;
            }
        }
    }
}
